package com.asion.vmovie.ui.MVPPresenter;

import com.asion.vmovie.beans.MuHouTabBean;
import com.asion.vmovie.ui.MVPContract.MuHouContract;

/**
 * Created by asion on 16-10-18.
 */

public class MuHouTabPresenter extends MuHouContract.TabPresenter {

    @Override
    public void getTabData() {
        mModel.getTabData(new MuHouContract.OnTabDataPost() {
            @Override
            public void onDataPostSuccess(MuHouTabBean muHouTabBean) {
                mView.showDataSuccess(muHouTabBean);
            }

            @Override
            public void onDataPostError(Throwable throwable) {
        mView.showDataError(throwable);
            }
        });
    }
}
